Database Schema Setup
Before the OIRW application could be started, the database schema for OIRW should be created or updated to the latest version. The following steps will create/update DB schema for OIRW.
Running Docker:
Docker Login:
Login to the container-registry.oracle.com to pull the required images using the below command.
# docker login container-registry.oracle.com |
Username
Password
Login successful.
Use your Oracle SSO username and password to log in to the Oracle Registry.
Steps to build the image and run the container:
Palette
-
Go to the palette folder where the docker file is present.
-
Build the docker image using the below command
docker build --network=host -t palette:12.2.0.0 .
-
Run the container using the below command
docker run -d --restart unless-stopped -p 8761:8761 -p 8861:8861 -p 8080:8080 -p 8081:8081 -p 9443:9443 -p 9444:9444 --network=host --privileged --mount type=bind,source=/scratch/oipa/Current/palette/conf/,target=/usr/local/palette/conf --name palette palette:12.2.0.0
RM
-
Go to the rm folder where docker file is present.
-
Build the docker image using the below command
docker build --network=host -t rm:12.2.0.0
-
Run the container using the below command
docker run -d --restart unless-stopped -p 8761:8761 -p 8861:8861 -p 8080:8080 -p 8081:8081 -p 9443:9443 -p 9444:9444 --network=host --privileged --mount type=bind,source=/scratch/oipa/Current/rm/conf/,target=/usr/local/rm/conf --name rm rm:12.2.0.0
RulesWorkBench
-
Go to the RulesWorkbenchfolder where docker file is present.
-
Build the docker image using the below command
docker build --network=host -t rwb:12.2.0.0
-
Run the container using the below command
-
docker run -d --restart unless-stopped -p 8761:8761 -p 8861:8861 -p 8080:8080 -p 8081:8081 -p 9443:9443 -p 9444:9444 --mount type=bind,source=/scratch/oipa/Current/RulesWorkbench/conf/,target=/usr/local/rwb/conf --network=host --privileged --name rwb rwb:12.2.0.0
Additional Info:
To Setup the environment after OIRW application is up and running, Please follow the screenshot.